home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / src / text11s.zoo / text1.1 / ChangeLog next >
Encoding:
Text File  |  1991-11-02  |  18.8 KB  |  535 lines

  1. Thu Sep 26 12:35:00 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  2.  
  3.     * Version 1.1.
  4.  
  5.     * configure, system.h: Include memory.h if it works.
  6.  
  7.     * split.c: Allow `b' unit as well as `k' and `m'.
  8.  
  9.     * head.c, tail.c: Replace -b +blocks option with specifying
  10.     units (b, k, or m) after the number.
  11.     (parse_unit): New function.
  12.  
  13.     * fold.c (main): Check that -w arg is a number.
  14.  
  15.     * cut.c: +delimiter takes an arg.
  16.  
  17. Mon Sep 16 14:52:38 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  18.  
  19.     * pr.c (close_file): Don't close an already closed file.
  20.  
  21. Thu Sep 12 00:14:43 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  22.  
  23.     * memchr.c: New file.
  24.     * configure: Check if it's needed.
  25.  
  26.     * csplit.c, gcsplit.1: New program.
  27.  
  28.     * pr.c (cleanup): Only free buffers if they were allocated.
  29.  
  30.     * sort.c [!USG && !STDC_HEADERS]: Declare memchr.
  31.  
  32. Wed Sep 11 20:54:16 1991  Jim Meyering  (meyering at churchy)
  33.  
  34.     * pr.c: The following 3 bugs appeared (at least) when printing
  35.     a  single file with the options `-3 -f'.
  36.     * (print_white_space): Single spaces were being replaced
  37.     with tabs.
  38.     * (print_page): Some lines were getting too much white space
  39.     at the beginning because spaces_not_printed wasn't being reset
  40.     to 0.
  41.     * (read_line): The single space between a truncated column
  42.     on its left and the column on its right was omitted.  Fixed
  43.     so that previous value of input_position is restored before
  44.     returning FALSE.
  45.  
  46. Sat Sep  7 03:22:18 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  47.  
  48.     * configure: Only remove /etc from PATH when it's not part of
  49.     a larger name.
  50.  
  51. Wed Sep  4 17:09:24 1991  David J. MacKenzie  (djm at apple-gunkies)
  52.  
  53.     * linebuffer.c (readline): Fix incorrect recalculation of `end'.
  54.  
  55.     * head.c, tail.c: Replace `mode' variables and bitmasks with
  56.     separate variables for each option.
  57.  
  58. Mon Sep  2 04:00:37 1991  David J. MacKenzie  (djm at apple-gunkies)
  59.  
  60.     * wc.c: New program.
  61.  
  62. Sun Sep  1 01:18:38 1991  David J. MacKenzie  (djm at apple-gunkies)
  63.  
  64.     * fold.c (fold_file): Read in an int, not a char, for EOF
  65.     comparison. 
  66.  
  67.     * configure: Check whether st_blksize is missing.
  68.  
  69.     * tac.c (save_stdin): Put copy of pipe input in TMPDIR if
  70.     defined, instead of /tmp.
  71.  
  72. Thu Aug 29 14:48:15 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  73.  
  74.     * xwrite.c [POSIX]: unistd.h might require sys/types.h.
  75.  
  76. Wed Aug 28 11:57:39 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  77.  
  78.     * paste.c (main): Consider -d "" to be like -d "\0",
  79.     for POSIX (if I read it right).
  80.  
  81.     * sort.c, join.c: New programs.
  82.  
  83.     * cut.c (set_field): Allow blanks as well as commas to
  84.     separate numbers in ranges.
  85.  
  86. Sun Aug 25 19:57:40 1991  Jim Meyering  (meyering at apple-gunkies)
  87.  
  88.     * pr.c: Failure to open an input file is no longer a fatal error.
  89.     A message is printed for each failed open.  When printing
  90.     in parallel, each failed open results in one fewer output column.
  91.     Added POSIX -r option to suppress the message.
  92.     * pr.c: Added variables: failed_opens, ignore_failed_opens.
  93.         These changes were based in part on work by David MacKenzie.
  94.  
  95. Sat Aug 24 15:27:39 1991  Jim Meyering  (meyering at pogo)
  96.  
  97.     * pr.c: Complain if user gives both -m and -[0-9]+ options.
  98.  
  99. Wed Aug 21 22:04:57 1991  David J. MacKenzie  (djm at apple-gunkies)
  100.  
  101.     * Version 1.0.
  102.  
  103. Mon Aug 19 00:16:51 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  104.  
  105.     * expand.c: Rename some variables.
  106.     (expand): Don't access value off end of array.
  107.     * unexpand.c: Rename some variables.
  108.     (unexpand): Don't access value off end of array.
  109.     Instead of copying tabs verbatim and flushing pending spaces
  110.     when one is reached, count them as the proper number of
  111.     pending spaces.  Instead of changing tabs to single spaces if
  112.     the tabstop list is exhausted, print the rest of the line
  113.     unchanged (for POSIX).
  114.  
  115. Sat Aug 17 01:49:41 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  116.  
  117.     * cut.c (cut_file), paste.c (paste_parallel, paste_serial):
  118.     Clear EOF and error conditions on stdin so it can be reused.
  119.  
  120.     * expand.c, unexpand.c (parse_tabstops): Allow blanks as well
  121.     as commas to separate tabstops, for POSIX.
  122.     * expand.c (expand), unexpand.c (unexpand): Don't line-buffer
  123.     the output; send it directly to stdout.
  124.     * unexpand.c (main): Make -t stupidly imply -a for POSIX.
  125.     (unexpand): If a tab stop list was given and we move past its end,
  126.     copy the rest of the line verbatim.
  127.  
  128.     * split.c (convint): New function to allow 'm' and 'k' after
  129.     byte counts.
  130.     (main): Use it.  Change -c option to -b for POSIX.
  131.  
  132. Fri Aug  9 02:47:02 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  133.  
  134.     * pr.c: Protect isdigit with isascii, if required.
  135.  
  136. Tue Aug  6 21:42:25 1991  David J. MacKenzie  (djm at wheat-chex)
  137.  
  138.     Most of the following is from Paul Eggert:
  139.     * cat.c (main): If stdin is read, check close at end.
  140.     * cmp.c (main): Check for stdin being closed.
  141.     Check for close errors on stdin and stdout.
  142.     (cmp): Return a value instead of exiting.
  143.     * cut.c (cut_file): New function, from code in main.
  144.     Check for read errors.
  145.     (main): Check for close errors.
  146.     * expand.c, unexpand.c (main): Check for close errors.
  147.     (next_file): Go to next file if one can't be opened.
  148.     Check for close errors.
  149.     * head.c (main), tail.c (main): If stdin was read, check for
  150.     close errors.
  151.     * head.c (head_file), tail.c (tail_file): Check for close errors.
  152.     * paste.c (main, paste_parallel, paste_serial), tac.c (main):
  153.     Check for close errors.  Close stdin if it was read.
  154.     * split.c (main): Check for close errors.
  155.  
  156.     * configure, Makefile.in's: Support +srcdir option.
  157.     Make config.status.  Fix up clean targets.
  158.  
  159. Wed Jul 31 01:32:59 1991  David J. MacKenzie  (djm at hal)
  160.  
  161.     * linebuffer.h (struct linebuffer): Add a field to indicate
  162.     the number of valid chars in the line.
  163.     * linebuffer.c (initbuffer, readline): Fill it in.
  164.     * uniq.c, comm.c: Use it.
  165.  
  166.     * pr.c (main): Check stdin and stdout fclose for errors.
  167.     (init_parameters): If there's no room for header and footer,
  168.     omit them rather than dying (for POSIX).
  169.     (init_header): Take a file descriptor as additional arg.
  170.     (init_fps): Change callers.  Note when stdin is read.
  171.     (open_file): For filename "-" use stdin.
  172.     (close_file): Don't close stdin.  Check close for errors.
  173.     (print_char, char_to_clump): Use isprint instead of explicit
  174.     comparisons.
  175.  
  176.     * memcmp.c: New file (needed for comm).
  177.     * bcopy.c: New file (needed for fold).
  178.     * system.h: Don't define bcopy as memcpy.
  179.     * configure: Check for bcopy and memcmp.
  180.  
  181.     * uniq.c (main): Use "-" instead of NULL to mean stdin or
  182.     stdout.
  183.     (check_file): Use "-" instead of NULL to mean stdin or stdout.
  184.     Check readline return instead of for NUL character to
  185.     detect eof.
  186.     Check fclose for errors.
  187.     (find_field): Use linebuffer length, not NULs, to detect end
  188.     of line.
  189.     (different): New function, replaces compare.  Uses memcmp
  190.     instead of strncmp.
  191.     (writeline): Use fwrite instead of fputs so NULs are preserved.
  192.  
  193.     * comm.c (compare_files): Return an error indication.
  194.     Don't take a filename of NULL to mean stdin.
  195.     Use memcmp instead of strcmp to allow for NULs.
  196.     Check fclose for errors.
  197.     (writeline): Use fwrite instead of fputs so NULs are preserved.
  198.  
  199.     * sum.c (sum_file): Take an arg indicating whether to print
  200.     the filename, and don't take NULL meaning stdin.  Set a flag
  201.     when we read stdin.  Check fclose return for errors.
  202.     (main): If stdin was read, check fclose return for errors.
  203.     Use filename of "-" if no args given.
  204.  
  205. Thu Jul 25 15:17:10 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  206.  
  207.     * fold.c: Rewritten from scratch for POSIX.
  208.  
  209. Wed Jul 24 01:55:41 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  210.  
  211.     * split.c (line_bytes_split): Use xmalloc instead of alloca.
  212.     * system.h: Don't declare alloca.
  213.  
  214.     * tac.c, tail.c: Use SEEK_ instead of L_ for lseek.
  215.     * system.h: Define SEEK_ macros if not defined.
  216.  
  217.     * pr.c: Rename variable `truncate' to avoid library function conflict.
  218.  
  219. Tue Jul 23 13:21:48 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  220.  
  221.     * linebuffer.c, linebuffer.h: New files.
  222.     * comm.c, uniq.c (initbuffer, readline): Functions
  223.     removed (use versions in linebuffer.c).
  224.  
  225. Mon Jul 22 13:23:53 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  226.  
  227.     * sum.c (sumfile): Always print 5 digits for second number, too.
  228.     Interpret "-" to mean stdin.
  229.  
  230. Sat Jul 20 14:24:40 1991  David J. MacKenzie  (djm at bleen)
  231.  
  232.     * uniq.c: Use isblank instead of isspace, to support POSIX.2.
  233.     * comm.c, pr.c, uniq.c (concat, fatal, error,
  234.     pfatal_with_name, xmalloc, xrealloc): Functions removed.
  235.  
  236. Sat Jul  6 02:19:09 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  237.  
  238.     * expand.c, unexpand.c [STDC_HEADERS]: Include stdlib.h.
  239.  
  240.     * xwrite.c [POSIX]: Include unistd.h.
  241.     [STDC_HEADERS]: Don't declare errno.
  242.  
  243. Sun Jun 30 23:35:16 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  244.  
  245.     * uniq.c: Add long-named options.  Remove marginally useful -z
  246.     option (zero padded repeat counts).
  247.  
  248. Thu Jun 27 16:31:45 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  249.  
  250.     * tail.c (tail_file), tac.c (save_stdin, tac_file), split.c
  251.     (cwrite), head.c (head_file), cat.c (main): Check close return
  252.     value for delayed error report due to NFS.
  253.  
  254. Tue Jun 11 00:12:15 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  255.  
  256.     * cat.c: Replace "uchar" with "unsigned char", to avoid
  257.     problems with various systems' typedefs.
  258.  
  259. Thu Jun  6 12:54:26 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  260.  
  261.     * cat.c (cat): Interpret ENOTTY return from FIONREAD ioctl to mean
  262.     operation is unsupported, for HP-UX 7.0.
  263.  
  264. Sun Apr 14 21:49:17 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  265.  
  266.     * sum.c: Always print five digits for first number.
  267.  
  268. Fri Mar 15 16:16:54 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  269.  
  270.     * cat.c, cmp.c: Don't use fileno(); not needed.
  271.  
  272. Thu Jan 10 02:16:55 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
  273.  
  274.     * tac.c, tail.c: Change _POSIX_SOURCE to POSIX.
  275.  
  276. Thu Dec 27 00:06:45 1990  David J. MacKenzie  (djm at egypt)
  277.  
  278.     * cut.c (cut_file_bytes, cut_file_fields): Make inbufp and
  279.     outbufp global.
  280.     (enlarge_line): Adjust inbufp and outbufp.
  281.  
  282. Sun Sep  9 16:54:19 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  283.  
  284.     * cat.c: Declare free returning void, not int, so it
  285.     doesn't bomb on Xenix.
  286.  
  287. Mon Sep  3 22:23:57 1990  David J. MacKenzie  (djm at coke)
  288.  
  289.     * tac.c: Print error messages before calling cleanup, not after.
  290.  
  291. Tue Aug 28 18:05:24 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  292.  
  293.     * tac.c (cleanup): Return SIGTYPE, not int.
  294.  
  295. Tue Aug  7 12:51:18 1990  David J. MacKenzie  (djm at apple-gunkies)
  296.  
  297.     * cut.c (main, usage): Add -b and -n options for POSIX.
  298.     (set_fields): Don't allow SPC or TAB as number separators.
  299.  
  300.     * paste.c (paste_parallel): If open of any file fails, quit
  301.     (for POSIX).
  302.  
  303. Mon Aug  6 22:14:13 1990  David J. MacKenzie  (djm at apple-gunkies)
  304.  
  305.     * pr.c: Add POSIX -F option (same as -f).
  306.  
  307.     * uniq.c (check_file): Allow '-' to mean stdin or stdout.
  308.  
  309. Mon Aug  6 14:43:30 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  310.  
  311.     * head.c, tail.c: Change `chars' to `bytes' globally.
  312.     (main, usage): Use POSIX.2 draft 10 option syntax.
  313.  
  314. Sun Aug  5 11:51:12 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  315.  
  316.     * cat.c (main): Don't delay error messages, so they appear
  317.     where expected.
  318.     (main, simple_cat, cat): Make errors in input files nonfatal.
  319.  
  320. Sat Aug  4 10:11:30 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  321.  
  322.     * cat.c: Remove -c option added for POSIX draft 9, since POSIX
  323.     draft 10 removed it. 
  324.  
  325.     * tac.c (tac_stdin): Use fstat instead of lseek to determine
  326.     whether stdin is seekable, because lseek silently fails on
  327.     some special files, like tty's.
  328.     tail.c (tail_chars, tail_lines): Use fstat instead of lseek;
  329.     don't turn off -f for non-regular files (assume the user knows
  330.     what he's doing; it might work for fifo's and sockets).
  331.  
  332.     * paste.c (main): If no files given, use stdin.
  333.     Don't let collapse_escapes write on string constant (delim default).
  334.     (paste_parallel): Don't close stdin.
  335.  
  336.     * cut.c (main): Use standard input for filename of "-".
  337.  
  338.     * comm.c (compare_files): Allow '-' to mean stdin.
  339.  
  340. Fri Aug  3 13:38:28 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  341.  
  342.     * cut.c (enlarge_line): Take an arg giving the required amount
  343.     of space.  Change callers.
  344.     (main): Don't allow -t'<TAB>' without -f.
  345.     Make `delim' unsigned to fix sign extension problem in comparison.
  346.  
  347. Tue Jul 17 12:36:11 EDT 1990  Jay Fenlason (hack@ai.mit.edu)
  348.  
  349.     * pr.c  Deleted excess whitespace from ends of lines.
  350.         Modified to work with current version of getopt, which
  351.         returns 1 instead of 0 for non-options.
  352.         Reversed the meaning of the -f option, to be compatable
  353.         with real pr.
  354.  
  355. Sun Jul  8 00:39:31 1990  David J. MacKenzie  (djm at apple-gunkies)
  356.  
  357.     * cmp.c (main, usage): Rename -L option to -c and don't have
  358.     it imply -l. 
  359.     (printc): Take an arg to specify number of chars to pad to,
  360.     for column alignment.
  361.     (cmp): Respect flag_print_chars in default output format.
  362.     Align columns for cmp -cl.
  363.  
  364. Sat Jul  7 17:23:30 1990  David J. MacKenzie  (djm at apple-gunkies)
  365.  
  366.     * cmp.c: For +show-chars, have getopt return 'L' so
  367.     `flag_print_chars' gets set.
  368.  
  369. Fri Jun 29 01:04:19 1990  David J. MacKenzie  (djm at apple-gunkies)
  370.  
  371.     * tac.c (main): Initialize fastmap and translate fields of
  372.     regex before compiling it.
  373.  
  374. Fri Jun 22 00:38:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  375.  
  376.     * tac.c: Change +regexp to +regex for consistency with GNU find.
  377.  
  378. Wed Jun 20 01:46:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  379.  
  380.     * cat.c (cat): If FIONREAD is available, only use it if it is
  381.     supported by the filesystem that the file is on.
  382.  
  383. Sun Jun  3 20:26:19 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  384.  
  385.     * cat.c (main): Add a variable to control whether the check
  386.     for input file == output file is made, because no values of
  387.     st_dev and st_ino should be assumed to be available for this
  388.     purpose.  Only do the check for regular files.
  389.  
  390.     * tac.c: Use bcopy instead of memcpy.
  391.  
  392. Thu May 31 00:55:36 1990  David J. MacKenzie  (djm at apple-gunkies)
  393.  
  394.     * head.c: Use longs instead of ints for file offsets, for 16
  395.     bit machines.
  396.  
  397. Tue May 22 00:56:51 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  398.  
  399.     * cmp.c: Change some ints to longs for 16 bit machines.
  400.     (bcmp_cnt): Make char-pointer counting slightly simpler.
  401.  
  402. Sat May 12 01:16:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  403.  
  404.     * cat.c (main): Allow input file to be output file for devices
  405.     (ttys, etc.).  Check whether input file is output file when
  406.     reading standard input.  Print any error messages for standard
  407.     input. 
  408.  
  409.     * cmp.c (bcmp_cnt): Handle int comparisons correctly on 16 bit
  410.     machines as well as 32 bit ones.
  411.     * cmp.c, tail.c: Use longs instead of ints for file offsets. 
  412.  
  413. Fri May 11 02:11:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  414.  
  415.     * cmp.c: Fix some exit statuses for POSIX.
  416.  
  417. Tue May  8 03:41:42 1990  David J. MacKenzie  (djm at abyss)
  418.  
  419.     * tac.c: Use regular expressions as the record boundaries.
  420.     Give better error messages.
  421.     Reformat code and make it more readable.
  422.     (main): Use getopt_long to parse options.
  423.     (tac_stdin): Do not make a temporary file if standard input
  424.     is a file.
  425.     (tac_file): New function.
  426.     (tac): Take an open file desc as an arg.
  427.     (output): Rewrite to use its own efficient buffering.
  428.     (xmalloc, xrealloc, xwrite): New functions.
  429.  
  430. Sun Apr  8 20:33:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  431.  
  432.     * head.c, tail.c: Use `error' instead of `fatal_perror' and
  433.     `nonfatal_perror'.  Remove some unnecessary info from messages.
  434.  
  435. Wed Mar 21 09:30:18 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  436.  
  437.     * comm.c (main): Pass the list of files to compare_files as a
  438.     char ** instead of a char *.
  439.     (compare_files): Make arg a char **.
  440.  
  441.     * uniq.c: Declare some functions as void.
  442.     Change global vars `countmode' and `mode' from ints to enums.
  443.     (main): Use getopt to parse options and support POSIX options.
  444.     Don't use integer_arg to parse numbers, since `-#' can't be
  445.     parsed that way using getopt.
  446.     (find_field): Use isspace for finding fields boundaries.
  447.  
  448. Tue Mar 20 14:28:25 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  449.  
  450.     * comm.c (main): Call usage if given bad option or wrong
  451.     number of args.  Exit with 0 status normally.
  452.     (usage): New function.
  453.     Declare some other functions as void.
  454.  
  455. Wed Mar 14 10:48:40 1990  David J. MacKenzie  (djm at rice-chex)
  456.  
  457.     * cmp.c (main, cmp, usage): Replace -q +quick option with -L
  458.     +show-chars option to add ASCII representation of bytes to -l format.
  459.  
  460. Tue Mar 13 00:50:14 1990  David J. MacKenzie  (djm at rice-chex)
  461.  
  462.     * cmp.c (cmp): Change EOF message for POSIX compatibility.
  463.     For -l format, clear bits > FF.
  464.  
  465. Mon Mar  5 17:21:00 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  466.  
  467.     * tail.c: Move global `errors' into main instead of having
  468.     nonfatal_perror set it.
  469.     (tail, tail_chars, tail_file, tail_lines, pipe_chars, pipe_lines):
  470.     Return an error status.
  471.     (file_lines, start_chars, start_lines): Reverse the meaning of
  472.     the return value.
  473.     (tail_lines, tail_chars): Account for that reversal.
  474.  
  475. Mon Mar  5 00:34:36 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  476.  
  477.     * head.c: Move global `errors' into main and have the various
  478.     functions return an error status instead of setting it in
  479.     nonfatal_perror. 
  480.  
  481. Sat Mar  3 11:27:27 1990  Torbj|rn Granlund  (tege at echnaton)
  482.  
  483.     * cmp.c (cmp): Call function bcmp_cnt for flag == 0 (i.e. no
  484.       options specified), to compare the two blocks and count
  485.       newlines simultaneously.
  486.     * cmp.c New function: bcmp_cnt.
  487.  
  488.     * cmp.c (main): Test if output is redirected to /dev/null, and
  489.       assume `-s' if this is so.
  490.  
  491. Tue Feb 20 17:09:19 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  492.  
  493.     * cat.c: Change `argbad' from a char to a short, so it will
  494.     work on machines with unsigned chars.
  495.  
  496. Sat Feb 10 02:16:40 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  497.  
  498.     * cmp.c (cmp): Rename `r' to `first_diff', and `x' to `smaller'.
  499.     Remove unneccessary variable `c1'.  If -l was given, increase
  500.     `char_number' by the number of bytes read, after producing output,
  501.     rather than by the offset of the first differing bytes, before
  502.     producing output.
  503.     Replace if-else-if constructions with case statements for clarity.
  504.     (bcmp2): Rename `n' to `nread'.
  505.  
  506. Sun Dec 17 00:36:36 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  507.  
  508.     * uniq.c: Declare some functions.
  509.     (main): Initialize infile and outfile.  Call usage if given
  510.     invalid args.  Normally exit with 0 status instead of garbage.
  511.     (usage): New function to print usage message and exit.
  512.     (check_file): Remove unused variable.
  513.     (readline): Compare against EOF, not < 0.
  514.     (xmalloc, xrealloc): Return char *, not int.
  515.     Ok to return 0 if 0 bytes requested.
  516.     (lb1, lb2): Remove unused global vars.
  517.     (concat): Remove unused function.
  518.  
  519. Sat Dec 16 15:15:50 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  520.  
  521.     * comm.c: Remove unused global variables lb1, lb2.
  522.     (main): Remove unneeded variable.
  523.     (compare_files): Remove unused arg.
  524.     (readline): un-nest assignment.  Test against EOF instead of < 0.
  525.     (error): Print to stderr, not stdout.
  526.     (xmalloc, xrealloc): Return char * instead of int.
  527.     Returning 0 is ok if 0 bytes requested (ANSI C).
  528.  
  529.  
  530. Local Variables:
  531. mode: indented-text
  532. left-margin: 8
  533. version-control: never
  534. End:
  535.